home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11511 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.iadfw.net!usenet
  2. From: Mark Nelson <markn@airmail.net>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: BIOSCOM DOS Serial Port Comm with Turbo C version 3.0
  5. Date: Sun, 24 Mar 1996 16:22:50 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <3155CB3A.4C6F@airmail.net>
  8. References: <NEWTNews.827645153.20850.anuzen@mork.nosc.mil>
  9. NNTP-Posting-Host: dal14-17.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
  14.  
  15. anuzen@nosc.mil wrote:
  16. > I've been using the sample bioscom program with my DOS turboc 2.0 for a long
  17. > time, but now I can't seem to make it work right on my Turboc 3.0 Dos 6.2 486
  18. > machine. The program seems to slow down after receiving a few bytes from the
  19. > com port. Can someone help? also, are there sample serial port communication
  20. > sources somewhere that I can use with my DOS Turbo C version 3.0?
  21. > Thanks,
  22. > Ahn.
  23.  
  24. Hi,
  25.  
  26. For higher speed communications you probably should start using an interrupt
  27. driven program.  Reading characters in through the BIOS is fraught with peril,
  28. you are always going to have trouble with lost characters at any decent rate
  29. of throughput.
  30.  
  31. I have some sample code that accompanies an article I wrote in 1991.  Follow the 
  32. links on my home page to magazine articles and you can get some C code that
  33. works well with Turbo C.
  34.  
  35. Mark Nelson
  36. http://web2.airmail.net/markn
  37.